<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        import { formatUnixTime,dateParse,IdCardAge,desensitizationStr } from './index.js'
        let num = '2021-11-05'
        console.log(formatUnixTime(num,98));
        console.log(dateParse('2021-11-11'));
        console.log(IdCardAge('361782200210293441'));
        console.log(desensitizationStr('361782200210293441',6,4));
    </script>
</body>
</html>